﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<LiteratureManage.Domain.Models.Literature>" %>
<table class="table">
    <thead>
        <tr>
            <th style="width:80px;">姓名</th>
            <th style="width:40px;">性别</th>
            <th style="width:150px;">联系单位</th>
            <th style="width:100px;">联系电话</th>
            <th style="width:100px;">联系手机</th>
            <th style="width:150px;">电子邮件</th>
        </tr>
    </thead>
    <%if (Model != null && Model.Authors != null && Model.Authors.Count > 0)
      {
          foreach (var author in Model.Authors)
          {%>
         <tr>
            <td><%=author.Name%></td>
            <td><%=author.Gender == 0 ? "男" : "女"%></td>
            <td><%=author.Org%></td>
            <td><%=author.Phone %></td>
            <td><%=author.Mobile %></td>
            <td><%=author.Email %></td>
         </tr>
    <%  }
      }
      else
      {
         %>
         <tr style="height:100px;">
            <td colspan="7">暂无任何数据</td>
        </tr>
    <%} %>
</table> 
